// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import router from './router'
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import Header from "./components/Header";
import Aside from "./components/Left-Aside"
import MainRouterPage from "./components/MainRouterPage";
import UpDataPassword from "./components/UpDataPassword";

Vue.use(ElementUI);
//全局注册
Vue.component('Header',Header)
Vue.component('Aside',Aside)
Vue.component("MainRouterPage",MainRouterPage)
Vue.component("UpDataPassword",UpDataPassword)
new Vue({
  el: '#app',
  render: h => h(App)
});
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
